﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001407 RID: 5127
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyLeaveCsReq : IMessage<TrainPartyLeaveCsReq>, IMessage, IEquatable<TrainPartyLeaveCsReq>, IDeepCloneable<TrainPartyLeaveCsReq>, IBufferMessage
	{
		// Token: 0x170040BA RID: 16570
		// (get) Token: 0x0600E5C4 RID: 58820 RVA: 0x00267013 File Offset: 0x00265213
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyLeaveCsReq> Parser
		{
			get
			{
				return TrainPartyLeaveCsReq._parser;
			}
		}

		// Token: 0x170040BB RID: 16571
		// (get) Token: 0x0600E5C5 RID: 58821 RVA: 0x0026701A File Offset: 0x0026521A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyLeaveCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170040BC RID: 16572
		// (get) Token: 0x0600E5C6 RID: 58822 RVA: 0x0026702C File Offset: 0x0026522C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyLeaveCsReq.Descriptor;
			}
		}

		// Token: 0x0600E5C7 RID: 58823 RVA: 0x00267033 File Offset: 0x00265233
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyLeaveCsReq()
		{
		}

		// Token: 0x0600E5C8 RID: 58824 RVA: 0x0026703B File Offset: 0x0026523B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyLeaveCsReq(TrainPartyLeaveCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E5C9 RID: 58825 RVA: 0x00267054 File Offset: 0x00265254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyLeaveCsReq Clone()
		{
			return new TrainPartyLeaveCsReq(this);
		}

		// Token: 0x0600E5CA RID: 58826 RVA: 0x0026705C File Offset: 0x0026525C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyLeaveCsReq);
		}

		// Token: 0x0600E5CB RID: 58827 RVA: 0x0026706A File Offset: 0x0026526A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyLeaveCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600E5CC RID: 58828 RVA: 0x00267088 File Offset: 0x00265288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E5CD RID: 58829 RVA: 0x002670AE File Offset: 0x002652AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E5CE RID: 58830 RVA: 0x002670B6 File Offset: 0x002652B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E5CF RID: 58831 RVA: 0x002670BF File Offset: 0x002652BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E5D0 RID: 58832 RVA: 0x002670D8 File Offset: 0x002652D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E5D1 RID: 58833 RVA: 0x002670FE File Offset: 0x002652FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyLeaveCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E5D2 RID: 58834 RVA: 0x0026711B File Offset: 0x0026531B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E5D3 RID: 58835 RVA: 0x00267124 File Offset: 0x00265324
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005AF5 RID: 23285
		private static readonly MessageParser<TrainPartyLeaveCsReq> _parser = new MessageParser<TrainPartyLeaveCsReq>(() => new TrainPartyLeaveCsReq());

		// Token: 0x04005AF6 RID: 23286
		private UnknownFieldSet _unknownFields;
	}
}
